<template>
	<!--空数据裔-->
	<view class="noempty text-center text-gray9">
		<image class="noempty_image m-t30" src="../../static/nodata.png" mode="aspectFit" v-if="isImage"></image>
		<view v-if="isText">暂无数据</view>
	</view>
</template>

<script>
export default {
	name: 'no-empty',
	props: {
		isImage: { 
			type: Boolean,
			default: true
		},
		isText: {
			type: Boolean,
			default: true
		}
	},
}
</script>

<style lang="scss">
.noempty {
	width: 100%;
	min-height: 100rpx;
}
.noempty_image {
	width: 200rpx;
	height: 200rpx;
}
</style>